/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package polandballgame;
import java.awt.Color;
import java.awt.Graphics;

/**
 *
 * @author POed
 */
public class WallSegment extends GameObject {
    
    @Override public void draw(Graphics context) {
        
        context.setColor(Color.gray);
        context.fillRect(x * Engine.cellSize, y * Engine.cellSize, Engine.cellSize, Engine.cellSize);
        context.setColor(Color.darkGray);
        context.fillRect(x * Engine.cellSize + 1, y * Engine.cellSize + 1, Engine.cellSize - 1, Engine.cellSize - 1);
    }
    
    
    public WallSegment(int xPos, int yPos) {
        
        super(xPos, yPos);
        type = 1;
    }
}
